package com.csun.nusing.bean.jsonbean;

import java.util.List;

/**
 * Created by Administrator on 2017/10/31.
 */

public class FollowDeviceSearchHeartRateJsonBean {

    /**
     * status : true
     * message : 查询成功
     * data : {"min":58,"max":98,"status":"正常心率","suggest":"请保持运动 良好生活习惯 心态平和","heartrateList":[{"id":1,"heartRate":58,"oldmanId":26,"status":"理想心率","createTime":1508205080000,"modifyTime":1508205080000,"modifier":10001},{"id":7,"heartRate":98,"oldmanId":26,"status":"理想心率","createTime":1509001015000,"modifyTime":1509001015000,"modifier":10001}],"average":78}
     */

    private boolean status;
    private String message;
    private FollowDeviceSearchHeartRateDataBean data;

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public FollowDeviceSearchHeartRateDataBean getData() {
        return data;
    }

    public void setData(FollowDeviceSearchHeartRateDataBean data) {
        this.data = data;
    }

    public static class FollowDeviceSearchHeartRateDataBean {
        /**
         * min : 58
         * max : 98
         * status : 正常心率
         * suggest : 请保持运动 良好生活习惯 心态平和
         * heartrateList : [{"id":1,"heartRate":58,"oldmanId":26,"status":"理想心率","createTime":1508205080000,"modifyTime":1508205080000,"modifier":10001},{"id":7,"heartRate":98,"oldmanId":26,"status":"理想心率","createTime":1509001015000,"modifyTime":1509001015000,"modifier":10001}]
         * average : 78
         */

        private float min;
        private float max;
        private String status;
        private String suggest;
        private float average;
        private List<HeartrateListBean> heartrateList;

        public float getMin() {
            return min;
        }

        public void setMin(float min) {
            this.min = min;
        }

        public float getMax() {
            return max;
        }

        public void setMax(float max) {
            this.max = max;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getSuggest() {
            return suggest;
        }

        public void setSuggest(String suggest) {
            this.suggest = suggest;
        }

        public float getAverage() {
            return average;
        }

        public void setAverage(float average) {
            this.average = average;
        }

        public List<HeartrateListBean> getHeartrateList() {
            return heartrateList;
        }

        public void setHeartrateList(List<HeartrateListBean> heartrateList) {
            this.heartrateList = heartrateList;
        }

        public static class HeartrateListBean {
            /**
             * id : 1
             * heartRate : 58
             * oldmanId : 26
             * status : 理想心率
             * createTime : 1508205080000
             * modifyTime : 1508205080000
             * modifier : 10001
             */

            private int id;
            private int heartRate;
            private int oldmanId;
            private String status;
            private long createTime;
            private long modifyTime;
            private int modifier;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getHeartRate() {
                return heartRate;
            }

            public void setHeartRate(int heartRate) {
                this.heartRate = heartRate;
            }

            public int getOldmanId() {
                return oldmanId;
            }

            public void setOldmanId(int oldmanId) {
                this.oldmanId = oldmanId;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getModifyTime() {
                return modifyTime;
            }

            public void setModifyTime(long modifyTime) {
                this.modifyTime = modifyTime;
            }

            public int getModifier() {
                return modifier;
            }

            public void setModifier(int modifier) {
                this.modifier = modifier;
            }
        }
    }
}
